package create.rpc.server;

import create.rpc.annotation.ServiceScan;
import create.rpc.serializer.CommonSerializer;
import lombok.extern.slf4j.Slf4j;


@ServiceScan
@Slf4j
public class NettyTestServer
{

    /**
     * 使用netty
     * @param args
     */
    public static void main(String[] args) {

        NettyServer server = new NettyServer("127.0.0.1", 9999, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();
    }
}
